package com.graduation.books_borrow.entity;

public class BooksBorrow {

    private Integer id;

    private String bookId;

    private String userId;

    private Integer status;

    private String addtime;

    private String comment;

    public BooksBorrow() {
    }

    public BooksBorrow(String userId) {
        this.userId = userId;
    }

    public BooksBorrow(String bookId, String userId) {
        this.bookId = bookId;
        this.userId = userId;
    }

    public BooksBorrow(String bookId, String userId, Integer status, String addtime) {
        this.bookId = bookId;
        this.userId = userId;
        this.status = status;
        this.addtime = addtime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
}
